﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="OrderProduct.aspx.cs" Inherits="INHollandair.Shop.OrderProduct" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <div class="container pull-down">
        <div class="row">
            <div class="span8 offset2">
                 <h2>Bevestig bestelling</h2>
                 <fieldset class="well roundedBorder form-horizontal">
                    <asp:MultiView ID="MultiViewOrder" runat="server">
                        <asp:View ID="validData" runat="server">
                                <table class="table table-striped table-condensed table-bordered">
                                    <tr>
                                        <td width="10%"><strong>ID</strong></td>
                                        <td width="70%"><strong>Bestemming</strong></td>
                                        <td width="20%"><strong>Prijs</strong></td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <asp:Label ID="ProductID" runat="server" Text=""></asp:Label>
                                        </td>
                                        <td>
                                            <asp:Label ID="ProductName" runat="server" Text=""></asp:Label>
                                        </td>
                                        <td>
                                            <asp:Label ID="ProductPrice" runat="server" Text=""></asp:Label>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td colspan="3" style="text-align:right;">
                                            <br />
                                            <asp:Button ID="OrderButton" runat="server" Text="Bestellen" Cssclass="btn btn-inverse" onclick="OrderButton_Click" />
                                        </td>
                                    </tr>
                                </table>
                            <asp:Label ID="noCredit" ForeColor="Red" runat="server">U heeft niet genoeg Miles om dit product te kopen.</asp:Label>
                        </asp:View>
                        <asp:View ID="invalidData" runat="server">
                            De door u ingevoerde data is niet geldig.
                        </asp:View>
                        <asp:View ID="orderConfirmed" runat="server">
                            Uw bestelling is geplaatst, bevestig uw bestelling door op de link te klikken die u ontvangt op uw email!
                        </asp:View>
                    </asp:MultiView>
                </fieldset>
            </div>
        </div>
    </div>
</asp:Content>
